
src  = exer.cpp insert.cpp binary-insert.cpp twoway-insert.cpp bubble.cpp quick.cpp select.cpp heap.cpp
inc = 
CPPFLAGS = -g -std=c++11
all: $(subst .cpp,,$(src))

$(subst .c,,$(src)): $(inc)

clean:
	@rm *.exe
	@rm *.o
	@rm *~

